package com.zhanyd.app.service;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zhanyd.app.mapper.ProjectInfoMapper;
import com.zhanyd.app.model.ProjectInfo;

@Service
public class ProjectService {

	@Autowired
	ProjectInfoMapper projectInfoMapper;
	
	
	public int insertSelective(ProjectInfo record) {
		return projectInfoMapper.insertSelective(record);
	}
	

	public ProjectInfo selectByPrimaryKey(Integer id) {
		return projectInfoMapper.selectByPrimaryKey(id);
	}

	public int updateByPrimaryKeySelective(ProjectInfo record) {
		return projectInfoMapper.updateByPrimaryKeySelective(record);
	}
	
	public List<Map<String,Object>> selectByParam(Map<String,Object> param){
		return projectInfoMapper.selectByParam(param);
	}
	
	public Integer selectProjectNum(Map<String,Object> param){
		return projectInfoMapper.selectProjectNum(param);
	}
}
